package org.dromara.crawler.mongo.mongodomain;

import com.mongoplus.annotation.ID;
import com.mongoplus.annotation.collection.CollectionName;
import com.mongoplus.enums.IdTypeEnum;
import lombok.Data;
import org.bson.Document;

import java.util.Date;
import java.util.List;


@Data
@CollectionName(value = "zh",database = "NEWS")
public class ZhEntity {

    @ID(type = IdTypeEnum.OBJECT_ID)
    private String id;

    private String contentHash;

    private String content;

    private String source;

    private Date ts;

    private String title;

    private List<Document> images;

}
